home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
compuserve-file-archive
/
05 Programming
/
CNOTE2.TXT
< prev
next >
Wrap
Text File
|
2019-04-13
|
3KB
|
99 lines
**********
C notes II
**********
These are some hints to using C-Power 128.
Written as subsequent file to another
cnotes.txt file in this D/L section.
1. LIB.C on the program diskette is for
the C-64 version and will never work as
it is written. (Ashamed to admit it took
me MONTHS to figure this out!). The SYS
call in the GETCH function must have a
BANK location included. It should read:
getch()
{
char a, x, y;
do
sys (15, 0xffe4, &a, &x, &y);
while (a == 0);
return a;
}
This is an obscure little error, but would
crash the LIB program every time! There
has been a BASIC C library manager written
and published by The TRANSACTOR, but it
is so much nicer to have it run under the
shell program.
2. There are multiple edit buffers for
ED and CED. You call them from the CMD:
prompt with 'go xxxx' where xxxx is your
chosen name for the buffers other than MAIN
and PASTE which the system sets-up. Use
'list' from the 'cmd:' prompt to see the
available buffers.
3. You can cut & paste from any buffer!
By using [run/stop] + cursor movement to
tag the text you want to move then F5 to
cut it to the 'PAST